package com.lzh.java;

import java.util.ArrayList;
import java.util.List;

/**
 * @author liuzhihao
 * @create 2021-02-22 12:20
 */
public class SubOrder extends Order<Integer> {//SubOrder不再是泛型类
    public static <E> List<E> copyFromArrayList(E[] arr){

        ArrayList<E> list = new ArrayList<>();
        for(E e : arr){
            list.add(e);
        }
        return list;

    }


}
